﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ru.kefir.lab_royak_wf.ru.kefir.lab_royak_wf.paintManager
{
    class Point{
        private List<double> x;
        private List<double> y;

        public Point(List<double> x, List<double> y){
            this.x = new List<double>();
            this.y = new List<double>();
            this.x.AddRange(x);
            this.y.AddRange(y);
        }

        public List<double>getXArray(){
            return this.x;
        }
        public List<double> getYArray(){
            return this.y;
        }
        public void setPointsArray(List<double> x, List<double> y)
        {
            this.x.Clear();
            this.y.Clear();
            this.x.AddRange(x);
            this.y.AddRange(y);
        }
    }
}
